package com.grapecc.springcloud;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.client.circuitbreaker.EnableCircuitBreaker;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;

/**
 * @author 卖糖的兜兜
 * @version 1.0.0
 * @ClassName HystrixApplication.java
 * @Description TODO
 * @createTime 2022年02月12日 23:36:00
 */
@SpringBootApplication
@EnableEurekaClient
@EnableCircuitBreaker  //回路注解
public class HystrixApplication {
    public static void main(String[] args) {
        SpringApplication.run(HystrixApplication.class, args);
    }
}
